<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>{{$title}}</title>
	{{HTML::style('public/backend/css/bootstrap.css')}}
	{{HTML::style('public/backend/css/style.css')}}
</head>
<body>
	@if(Sentry::check())
	<div class="container">
		<div class="row">
			<div class="col-sm-12 top">

				@include("backend.template.top")
			</div>
		</div>
		<div class="row">
			<div class="col-sm-3 leftcate">

		    	@include("backend.template.menungang")
		    	
			</div>

		    <div class="col-sm-9">

		    	@if(Session::has("success"))
		    		<div class="warningx wredy">{{Session::get("success")}}</div>
		    	@endif

		    	@if(Session::has("error"))
		    		<div class="warningx wredy">{{Session::get("error")}}</div>
		    	@endif

		      @yield("content")
		    </div>

		</div>
		<div class="jumbotron">
			day la bottom
		<div>
	</div>
	@else
		<div class="warningx wredy">Bạn phải đăng nhập để thực hiện thao tác này, click <a href="{{URL::route('login_get')}}">tại đây</a> để đăng nhập</div>
		
	@endif
	{{HTML::script('public/backend/js/bootstrap.js')}}
	{{HTML::script('public/backend/js/jquery.js')}}
	{{HTML::script('public/backend/js/script.js')}}
	{{HTML::script('public/backend/js/ckeditor/ckeditor.js')}}
	@yield('data_code')
</body>
</html>